<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>全部工作记录</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/form.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="../script/mui/mui.picker.min.css" />
    <link rel="stylesheet" type="text/css" href="../script/mui/mui.reset.css" />
    <link rel="stylesheet" type="text/css" href="css/analysis_historyfeesummary.css" />
    <link rel="stylesheet" type="text/css" href="css/customerservicelist.css" />
    <link rel="stylesheet" type="text/css" href="css/analysis_equipment_frm.css" />
    <style>
       .aui-list{
            background-size: 100% 0px;
            border-top: 0;
        }
        .aui-list,.aui-list .aui-list-item{
            padding-left:0;
        }
        .aui-list .aui-list-item-inner{
            padding-right:0;
        }
        .aui-list .aui-list-item:last-child{
            border-bottom:0;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <!-- 弹框黑色背景 -->
        <div v-on:click="doHideSearch()" v-if="showsearch" class="maskbg">
        </div>
        <!-- //工作结果 -->
        <div v-if="showsearchparam" class="searchparam" style="height: 50%;">
            <div class="searchcontent" style="height: 100%;">
                <div class="searchparamtitle">
                    工作结果
                </div>
                <div class="searchparamitem">
                    <label class="aui-margin-b-0" v-on:click="doSelectWorkResult(item.ID)"
                        v-bind:class="{'active':form.workResultID==item.ID}"
                        v-for="item in WorkResultList">{{item.Name}}</label>
                </div>
                <div class="searchparamtitle">
                    签到时间
                </div>
                <div class="searchparamitem">
                    <label v-bind:class="{'active':form.activeDate==1}" v-on:click="doClickDay(1)">近三天</label>
                    <label v-bind:class="{'active':form.activeDate==2}" v-on:click="doClickDay(2)">近七天</label>
                    <label v-bind:class="{'active':form.activeDate==3}" v-on:click="doClickDay(3)">近三十天</label>
                </div>
                <div class="searchparamitem searchparamitem_input">
                    <i class="icon iconfont icon-rili"></i>
                    <span class="choose new-span-date" id="startdate" data-options='{"type":"date"}'
                        v-bind:class="{'textColorPlaceholder':form.startTime==''}">{{form.startTime==''?'开始日期':form.startTime}}</span>
                    <span style="padding: 0 10px;">
                        至
                    </span>
                    <span class="choose new-span-date" id="enddate" data-options='{"type":"date"}'
                        v-bind:class="{'textColorPlaceholder':form.endTime==''}">{{form.endTime==''?'结束日期':form.endTime}}</span>
                </div>
                <div class="aui_bottom">
                    <div v-on:click="doReset()" class="aui_bottombtn left">重置</div>
                    <div v-on:click="doSearch()" class="aui_bottombtn right">确认</div>
                </div>
            </div>
        </div>
        <div class="search_box fixedbox bgshadow" v-bind:class="{'fixedbox':showsearch}"
            style="margin-top:0px ; background: #fff;">
            <div class="searchitem" v-bind:class="{'chkedbox':showsearchparam}" v-on:click="doSelectSearchParam(1)">
                筛选
                <i v-if="!showsearchparam" class="icon iconfont icon-down"></i>
                <i v-if="showsearchparam" class="icon iconfont icon-shangjiantou" style="color:#fff;"></i>
            </div>
        </div>
        <!-- 内容 -->
         <section id="main_refresh" class="aui-refresh-content" style="margin-top: 3rem;">
            <div class="aui_list boxarea mb20">
                <ul class="aui-list aui-list-in">
                    <li class="aui-list-item">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-title"> <span class="aui-font-size-16"><span class="text-grey aui-font-size-16">累计{{form.Type==1?'维保':'巡检'}}次数：</span>{{TotalCount}}</span></div>
                            <div class="aui-list-item-right">
                                <!-- <div v-on:click="doOpenMoreRecord(2)" class="text-blue" >查看更多</div> -->
                            </div>
                        </div>
                    </li>
                    <li v-on:click="open_details(item)" v-for="item in list" class="aui-list-item">
                        <div class="aui-list-item-label-icon">
                            <i class="icon iconfont icon-shijian text-grey"></i>
                        </div>
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-title"><span>{{item.TaskTimeDesc}}</span></div>
                            <div class="aui-list-item-right">
                                <div v-if="!item.IsInvalidComplete" class="aui-label aui-label-info aui-label-outlined new-aui-label">{{item.IsInvalidCompleteDesc}}</div>
                                <div v-else class="aui-label aui-label-danger aui-label-outlined new-aui-label">{{item.IsInvalidCompleteDesc}}</div>
                            </div>
                        </div>
                    </li>
                </ul>
        </div>   
        </div>
    </div>
</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vue.js "></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/mui/mui.min.js"></script>
<script type="text/javascript" src="../script/mui/mui.picker.min.js"></script>
<script type="text/javascript" src="../script/mui/mui.poppicker.js"></script>
<script type="text/javascript" src="../script/aui-pull-refresh.js"></script>
<script type="text/javascript" src="../script/aui-scroll.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/page/dateRangeUtil.js"></script>
<script type="text/javascript " src="../script/moment/moment.js"></script>
<script type="text/javascript" src="js/equipment_homelist.js"></script>

</html>